﻿namespace DimensionsHelper.Common.Contracts.Table;

public interface ITableRecognizer
{
    /// <summary>
    ///     判定此行是否是表格的开始行。
    /// </summary>
    /// <param name="line"></param>
    /// <returns></returns>
    bool IsTableStartLine(ILine line);

    /// <summary>
    ///     判定此单元格是否是表格的标题单元格。
    /// </summary>
    /// <param name="cell"></param>
    /// <returns></returns>
    bool IsTableTitleCell(ICell cell);

    /// <summary>
    ///     判定此行是否是表格的结束行。
    /// </summary>
    /// <param name="line"></param>
    /// <returns></returns>
    bool IsTableEndLine(ILine line);

    /// <summary>
    ///     判定此行是否是Base数据所在行。
    /// </summary>
    /// <param name="line"></param>
    /// <returns></returns>
    bool IsTableBaseLine(ILine line);
}